package com.u.social.article.model.converter;

import com.u.social.article.entity.ArticleComments;
import com.u.social.article.model.CommentDTO;
import org.mapstruct.Mapper;

/**
 * @program: u-social
 * @description: 评论转换器
 * @author: Alex Wu
 * @createDate: 2025-02-25 11:44
 **/

@Mapper(componentModel = "spring")
public interface CommentConverter {
    ArticleComments toArticleComments(CommentDTO commentDTO);
}
